package com.ifox.hgx.spring.annotation.bean;

import org.springframework.stereotype.Component;

@Component
public class Car {

    private int a;

    public Car() {
        System.out.println("car constructor...");
    }

    public void init() {
        System.out.println("car ... init...");
    }

    private void destroy() {
        System.out.println("car ... destroy...");
    }

    public int getA() {
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }
}
